package com.unytech.project.entity.torrents.baseinfo;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.unytech.project.entity.torrents.CommonEntity;

/**
 * 县乡村预案信息表
 * @author DolphinBoy
 * 记录县乡村预案信息
 * 本表主要存的是预案文件地址。预案地址是指预案文本所存储的URl地址
 */
@Entity 
@Table(name="AD_Plan_B")
public class AD_Plan_B extends CommonEntity{
	/** 预案ID */
	@Id @Column(name="PlanID", precision=5, scale=0, nullable=false)
	private BigInteger planid;
	
	/** 行政区划代码 */
	@Column(name="ADCD", length=15)
	private String adcd;
	
	/** 县乡村预案标题 */
	@Column(name="TITLE", length=100)
	private String plantitle;
	
	/** 预案内容摘要 */
	@Column(name="Abstract", length=500)
	private String planabstract;
	
	/** 预案地址 */
	@Column(name="PlanURL", length=300)
	private String planurl;
	
	/** 预案发布时间 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="PubTM")
	private Date plandate;
	
}
